import request from "@/router/axios";
import { baseUrl } from "@/config/env";

//添加四项基本原则言行
export function addFourPrinciple(data) {
  return request({
    url: baseUrl + "/pc/four-principle",
    method: "post",
    data
  });
}

//查询四项基本原则言行
export function getFourPrinciple(data) {
  return request({
    url: baseUrl + "/pc/four-principle",
    method: "get",
    params: data
  });
}

//删除四项基本原则言行
export function deleteFourPrinciple(data) {
  return request({
    url: baseUrl + "/pc/four-principle",
    method: "delete",
    data
  });
}

//更新四项基本原则言行
export function updateFourPrinciple(data) {
  return request({
    url: baseUrl + "/pc/four-principle",
    method: "put",
    data
  });
}

//导入四项基本原则言行
export function importFourPrinciple(data) {
  return request({
    url: baseUrl + "/pc/four-principle",
    method: "post",
    data
  });
}
